package com.guigu.mq.feign;

import com.guigu.tms.result.R;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @ClassName:OrderFeign
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/11/17:10:02 星期三
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@FeignClient(value = "service-order", path = "/order/order")
public interface OrderFeign {

    /***
     * 订单超时
     * @param orderId
     * @return
     */
    @PutMapping("/{orderId}")
    public R changeOrderTimeout(@PathVariable("orderId") String orderId);
}
